export function getUserData(userId, username, msg, chatMessage, initMessage, historyChatMessage, mydata) {
    const userData = {
        messageType: 2,
        originUserId: userId,
        msg: msg,
        content: {
            chatMessage: chatMessage,
            initMessage: initMessage,
            historyChatMessage: historyChatMessage,
            user: {
                id: userId,
                name: username,
                status: 1,
            },
        },
        timeStamp: mydata,
    };
    return userData;
}
